/*
* Poppy Game Engine - https://pgetemplate.googlecode.com/svn/
* -----------------------------------------------------------------------
* Licensed under the BSD license, see LICENSE in PSPSDK root for details.
*
* Copyright (c) 2008 Poppy
*/

#pragma once

#ifdef WIN32
#define INIT	int waitInit
#define WAIT	scanf("%d",&waitInit)
#define EXIT
#include <stdio.h>
#include <string.h>
#endif

#ifdef PSP
#define INIT	pspDebugScreenInit();
#define WAIT	sceKernelSleepThread()
#define EXIT	sceKernelExitGame()
#ifndef APPLICATION_NAME
#define APPLICATION_NAME "No Name Application"
#endif
#include <pspkernel.h>
#include <pspdebug.h>
#include <pspdisplay.h>
#include <pspsdk.h>
#include <pspctrl.h>
#include <stdlib.h>
#include <string.h>
PSP_MODULE_INFO(APPLICATION_NAME, 0, 1, 1);
PSP_HEAP_SIZE_KB(20480);
PSP_MAIN_THREAD_ATTR(THREAD_ATTR_USER | THREAD_ATTR_VFPU);
#define printf	pspDebugScreenPrintf
#endif
